<?php


namespace api\web\controller;


use api\web\model\BannerModel;
use api\web\model\NewsModel;
use cmf\controller\RestBaseController;
use think\facade\Db;

class NewsController extends RestBaseController
{
    public function index(){
        $list = NewsModel::select();
        $this->success('院系新闻显示',$list);
    }
}